package com.ccys.cms.service.userManagement;

import com.ccys.common.vo.ResponseResult;
import com.ccys.db.dto.userManagement.TemplateDto;
import com.ccys.db.entity.TblTemplate;
import com.ccys.db.rely.service.BaseService;
import com.ccys.db.vo.userManagement.TemplatePageQueryVo;
import com.github.pagehelper.PageInfo;

/**
 * @program: WhiteCoat
 * @description: 模板管理接口
 * @author: ZhangJingCan
 * @create: 2023-12-20 13:32
 **/
public interface TemplateService extends BaseService<TblTemplate> {
    ResponseResult saveTemplate(TemplateDto dto);

    ResponseResult deleteTemplate(TemplateDto dto);

    ResponseResult updateTemplateStatus(TemplateDto dto);

    ResponseResult<PageInfo<TemplatePageQueryVo>, Object> findPageTemplate(TemplateDto dto);

    ResponseResult updateDispOrder(TemplateDto dto);
}
